package com.mi.rof.user.utils;

import com.mi.rof.entity.vo.OrderVO;

/**
 * @author : Yang Yu you
 */
public class OrderThreadLoacal {
    private OrderThreadLoacal(){}

    public  static final ThreadLocal<OrderVO> LOCAL = new ThreadLocal<>();

    public static void put(OrderVO orderVO) {
        LOCAL.set(orderVO);
    }

    public static OrderVO get() {
        return LOCAL.get();
    }

    public static void remove() {
        LOCAL.remove();
    }
}
